FROM 	:= python
TARGET  := gender-predict
exec 	:= docker exec -it $(TARGET) bash -c
socket  := 8080

.IPHONY : docker start clean

docker :
	docker build -t  $(TARGET) .

start :
	docker run -itd --name $(TARGET) -p $(socket):8080 $(TARGET)

clean :
	docker rm -f $(TARGET)
	docker rmi -f $(TARGET)
